
import request from '@/utils/request'

export const MMeetingsAPI = {
  hasAll(params) {
    return request({
      url: '/MMeetings/hasAll',
      method: 'get',
      params
    });
  },
  hasAllToPage(params) {
    return request({
      url: '/MMeetings/hasAllToPage',
      method: 'get',
      params
    })
  },
  add(data) {
    return request({
      url: '/MMeetings/add',
      method: 'post',
      data
    })
  },
  update(data) {
    return request({
      url: '/MMeetings/update',
      method: 'post',
      data
    })
  },
  delete(data) {
    return request({
      url: '/MMeetings/delete',
      method: 'post',
      data
    })
  },
  hasByLocationRoomId(params) {
    return request({
      url: '/MMeetings/hasByLocationRoomId',
      method: 'get',
      params
    })
  },
  hasByUserId(params) {
    return request({
      url: '/MMeetings/hasByUserId',
      method: 'get',
      params
    })
  },
  delroom(data) {
    return request({
      url: '/http/doGet',
      method: 'post',
      data
    })
  },


  // 其他方法...
};
